home *** CD-ROM | disk | FTP | other *** search
/ Freelog 114 / FreelogNo114-MarsAvril2013.iso / Systeme / Real VNC / VNC-5.0.4-Windows.exe / install_script.iss
Text File  |  2013-01-22  |  14KB  |  145 lines

  1. ;InnoSetupVersion=5.4.2
  2.  
  3. [Setup]
  4. AppName=VNC Server
  5. AppVerName=VNC Server 5.0.4
  6. AppId=RealVNC
  7. AppVersion=5.0.4
  8. AppPublisher=RealVNC Ltd
  9. AppPublisherURL=http://www.realvnc.com
  10. AppSupportURL=http://www.realvnc.com
  11. AppUpdatesURL=http://www.realvnc.com
  12. DefaultDirName={pf}\RealVNC\VNC Server
  13. DefaultGroupName=RealVNC
  14. UninstallDisplayIcon={app}\vncserver.exe,0
  15. OutputBaseFilename=in
  16. Compression=lzma2
  17. ArchitecturesInstallIn64BitMode=x64
  18. DisableDirPage=yes
  19. ChangesAssociations=yes
  20. AllowNoIcons=yes
  21. LicenseFile=embedded\License.txt
  22. WizardImageFile=embedded\WizardImage0.bmp
  23. WizardSmallImageFile=embedded\WizardSmallImage0.bmp
  24.  
  25. [Files]
  26. Source: "{app}\desktop_dupl,1.dll"; DestDir: "{app}"; DestName: "desktop_dupl.dll"; Components: WinVNC; Check: "not Is64BitInstallMode"; BeforeInstall: "BudgeFile('{app}\desktop_dupl.dll')"; Flags: restartreplace ignoreversion 
  27. Source: "{app}\saslib,1.dll"; DestDir: "{app}"; DestName: "saslib.dll"; Components: WinVNC; Check: "not Is64BitInstallMode"; BeforeInstall: "BudgeFile('{app}\saslib.dll')"; Flags: restartreplace ignoreversion 
  28. Source: "{app}\vncserver,1.exe"; DestDir: "{app}"; DestName: "vncserver.exe"; Components: WinVNC; Check: "not Is64BitInstallMode"; BeforeInstall: "BudgeFile('{app}\vncserver.exe')"; Flags: restartreplace ignoreversion 
  29. Source: "{app}\vncconfig,1.exe"; DestDir: "{app}"; DestName: "vncconfig.exe"; Components: WinVNC; Check: "not Is64BitInstallMode"; BeforeInstall: "BudgeFile('{app}\vncconfig.exe')"; Flags: restartreplace ignoreversion 
  30. Source: "{app}\vncpasswd,1.exe"; DestDir: "{app}"; DestName: "vncpasswd.exe"; Components: WinVNC; Check: "not Is64BitInstallMode"; BeforeInstall: "BudgeFile('{app}\vncpasswd.exe')"; Flags: restartreplace ignoreversion 
  31. Source: "{app}\wm_hooks,1.dll"; DestDir: "{app}"; DestName: "wm_hooks.dll"; Components: WinVNC; Check: "not Is64BitInstallMode"; BeforeInstall: "BudgeFile('{app}\wm_hooks.dll')"; Flags: restartreplace ignoreversion 
  32. Source: "{app}\logmessages,1.dll"; DestDir: "{app}"; DestName: "logmessages.dll"; Components: WinVNC; Check: "not Is64BitInstallMode"; BeforeInstall: "BudgeFile('{app}\logmessages.dll')"; Flags: restartreplace ignoreversion 
  33. Source: "{app}\vncpipehelper,1.exe"; DestDir: "{app}"; DestName: "vncpipehelper.exe"; Components: WinVNC; Check: "not Is64BitInstallMode"; BeforeInstall: "BudgeFile('{app}\vncpipehelper.exe')"; Flags: restartreplace ignoreversion 
  34. Source: "{app}\vncclipboard,1.exe"; DestDir: "{app}"; DestName: "vncclipboard.exe"; Components: WinVNC; Check: "not Is64BitInstallMode"; BeforeInstall: "BudgeFile('{app}\vncclipboard.exe')"; Flags: restartreplace ignoreversion 
  35. Source: "{app}\vncchat,1.exe"; DestDir: "{app}"; DestName: "vncchat.exe"; Components: WinVNC; Check: "not Is64BitInstallMode"; BeforeInstall: "BudgeFile('{app}\vncchat.exe')"; Flags: restartreplace ignoreversion 
  36. Source: "{app}\vnclicense,1.exe"; DestDir: "{app}"; DestName: "vnclicense.exe"; Components: WinVNC; Check: "not Is64BitInstallMode"; BeforeInstall: "BudgeFile('{app}\vnclicense.exe')"; Flags: restartreplace ignoreversion 
  37. Source: "{app}\vnclicensewiz32.exe"; DestDir: "{app}"; Components: WinVNC; Check: "not Is64BitInstallMode"; BeforeInstall: "BudgeFile('{app}\vnclicensewiz.exe')"; Flags: restartreplace ignoreversion 
  38. Source: "{app}\desktop_dupl,2.dll"; DestDir: "{app}"; DestName: "desktop_dupl.dll"; Components: WinVNC; Check: "Is64BitInstallMode"; BeforeInstall: "BudgeFile('{app}\desktop_dupl.dll')"; Flags: restartreplace ignoreversion 
  39. Source: "{app}\saslib,2.dll"; DestDir: "{app}"; DestName: "saslib.dll"; Components: WinVNC; Check: "Is64BitInstallMode"; BeforeInstall: "BudgeFile('{app}\saslib.dll')"; Flags: restartreplace ignoreversion 
  40. Source: "{app}\vncserver,2.exe"; DestDir: "{app}"; DestName: "vncserver.exe"; Components: WinVNC; Check: "Is64BitInstallMode"; BeforeInstall: "BudgeFile('{app}\vncserver.exe')"; Flags: restartreplace ignoreversion 
  41. Source: "{app}\vncconfig,2.exe"; DestDir: "{app}"; DestName: "vncconfig.exe"; Components: WinVNC; Check: "Is64BitInstallMode"; BeforeInstall: "BudgeFile('{app}\vncconfig.exe')"; Flags: restartreplace ignoreversion 
  42. Source: "{app}\vncpasswd,2.exe"; DestDir: "{app}"; DestName: "vncpasswd.exe"; Components: WinVNC; Check: "Is64BitInstallMode"; BeforeInstall: "BudgeFile('{app}\vncpasswd.exe')"; Flags: restartreplace ignoreversion 
  43. Source: "{app}\wm_hooks,2.dll"; DestDir: "{app}"; DestName: "wm_hooks.dll"; Components: WinVNC; Check: "Is64BitInstallMode"; BeforeInstall: "BudgeFile('{app}\wm_hooks.dll')"; Flags: restartreplace ignoreversion 
  44. Source: "{app}\logmessages,2.dll"; DestDir: "{app}"; DestName: "logmessages.dll"; Components: WinVNC; Check: "Is64BitInstallMode"; BeforeInstall: "BudgeFile('{app}\logmessages.dll')"; Flags: restartreplace ignoreversion 
  45. Source: "{app}\vncpipehelper,2.exe"; DestDir: "{app}"; DestName: "vncpipehelper.exe"; Components: WinVNC; Check: "Is64BitInstallMode"; BeforeInstall: "BudgeFile('{app}\vncpipehelper.exe')"; Flags: restartreplace ignoreversion 
  46. Source: "{app}\vncclipboard,2.exe"; DestDir: "{app}"; DestName: "vncclipboard.exe"; Components: WinVNC; Check: "Is64BitInstallMode"; BeforeInstall: "BudgeFile('{app}\vncclipboard.exe')"; Flags: restartreplace ignoreversion 
  47. Source: "{app}\vncchat,2.exe"; DestDir: "{app}"; DestName: "vncchat.exe"; Components: WinVNC; Check: "Is64BitInstallMode"; BeforeInstall: "BudgeFile('{app}\vncchat.exe')"; Flags: restartreplace ignoreversion 
  48. Source: "{app}\vnclicense,2.exe"; DestDir: "{app}"; DestName: "vnclicense.exe"; Components: WinVNC; Check: "Is64BitInstallMode"; BeforeInstall: "BudgeFile('{app}\vnclicense.exe')"; Flags: restartreplace ignoreversion 
  49. Source: "{app}\vnclicensewiz64.exe"; DestDir: "{app}"; Components: WinVNC; Check: "Is64BitInstallMode"; BeforeInstall: "BudgeFile('{app}\vnclicensewiz.exe')"; Flags: restartreplace ignoreversion 
  50. Source: "{app}\VNC-Viewer-5.0.4-Windows.exe"; DestDir: "{app}"; Components: VNCViewer; BeforeInstall: "BudgeFile('{app}\VNC-Viewer-5.0.4-Windows.exe')"; AfterInstall: "installViewer()"; Flags: deleteafterinstall ignoreversion 
  51. Source: "{app}\vnc-mirror-1_8_0-x86_x64_win32,1.exe"; DestDir: "{app}"; DestName: "vnc-mirror-1_8_0-x86_x64_win32.exe"; Components: WinVNC\VNCMirror; Check: "DummyCheckFunction"; BeforeInstall: "BudgeFile('{app}\vnc-mirror-1_8_0-x86_x64_win32.exe')"; AfterInstall: "installMirrorDriver(ExpandConstant('{app}'))"; Flags: restartreplace ignoreversion 
  52. Source: "{app}\vnc-mirror-1_8_0-x86_x64_win32,2.exe"; DestDir: "{app}"; DestName: "vnc-mirror-1_8_0-x86_x64_win32.exe"; Components: WinVNC and not WinVNC\VNCMirror; Check: "DummyCheckFunction"; BeforeInstall: "BudgeFile('{app}\vnc-mirror-1_8_0-x86_x64_win32.exe')"; Flags: restartreplace ignoreversion 
  53. Source: "{app}\vnc-printer-1_8_0-x86_x64_win32,1.exe"; DestDir: "{app}"; DestName: "vnc-printer-1_8_0-x86_x64_win32.exe"; Components: WinVNC\VNCPrinter; Check: "DummyCheckFunction"; BeforeInstall: "BudgeFile('{app}\vnc-printer-1_8_0-x86_x64_win32.exe')"; AfterInstall: "installPrinterDriver(ExpandConstant('{app}'))"; Flags: restartreplace ignoreversion 
  54. Source: "{app}\vnc-printer-1_8_0-x86_x64_win32,2.exe"; DestDir: "{app}"; DestName: "vnc-printer-1_8_0-x86_x64_win32.exe"; Components: WinVNC and not WinVNC\VNCPrinter; Check: "DummyCheckFunction"; BeforeInstall: "BudgeFile('{app}\vnc-printer-1_8_0-x86_x64_win32.exe')"; Flags: restartreplace ignoreversion 
  55.  
  56. [Registry]
  57. Root: HKCR; Subkey: "vnclicenseserver"; ValueType: String; ValueData: "URL:VncLicenseServer Protocol"; Components: WinVNC; Flags: uninsdeletekey 
  58. Root: HKCR; Subkey: "vnclicenseserver"; ValueName: "URL Protocol"; ValueType: String; Components: WinVNC; 
  59. Root: HKCR; Subkey: "vnclicenseserver\DefaultIcon"; ValueType: String; ValueData: "{app}\vnclicensewiz.exe,1"; Components: WinVNC; 
  60. Root: HKCR; Subkey: "vnclicenseserver\shell\open\command"; ValueType: String; ValueData: """{app}\vnclicensewiz.exe"" ""%1"""; Components: WinVNC; 
  61. Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\services\eventlog\Application\VNC Server"; Components: WinVNC; Flags: uninsdeletekey 
  62. Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\services\eventlog\Application\VNC Server"; ValueName: "CategoryCount"; ValueType: Dword; ValueData: "$FF"; Components: WinVNC; 
  63. Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\services\eventlog\Application\VNC Server"; ValueName: "TypesSupported"; ValueType: Dword; ValueData: "$7"; Components: WinVNC; 
  64. Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\services\eventlog\Application\VNC Server"; ValueName: "EventMessageFile"; ValueType: String; ValueData: "{app}\logmessages.dll"; Components: WinVNC; 
  65. Root: HKLM; Subkey: "SYSTEM\CurrentControlSet\services\eventlog\Application\VNC Server"; ValueName: "CategoryMessageFile"; ValueType: String; ValueData: "{app}\logmessages.dll"; Components: WinVNC; 
  66.  
  67. [UninstallRun]
  68. Filename: "{app}\vncserver.exe"; Parameters: "-unregister"; RunOnceId: "StopService"; Components: WinVNC; 
  69. Filename: "{app}\vncconfig.exe"; Parameters: "-cleanup"; RunOnceId: "Cleanup"; Components: WinVNC; 
  70.  
  71. [Icons]
  72. Name: "{group}\Advanced\VNC Server (User Mode)"; Filename: "{app}\vncserver.exe"; Parameters: "-noconsole -showstatus"; Components: WinVNC; 
  73. Name: "{group}\Advanced\Enter VNC Server License Key"; Filename: "{app}\vnclicensewiz.exe"; Parameters: "-add"; Components: WinVNC; 
  74. Name: "{group}\Documentation\VNC Server on the Web"; Filename: "http://www.realvnc.com/products/vnc/"; IconFilename: "{app}\vncserver.exe"; 
  75. Name: "{group}\VNC Server"; Filename: "{app}\vncserver.exe"; Parameters: "-noconsole -start -showstatus"; Components: WinVNC; 
  76.  
  77. [Tasks]
  78. Name: "desktopicon"; Description: "Create a VNC Viewer &desktop icon"; GroupDescription: "Additional icons:"; Components: "VNCViewer"; 
  79. Name: "quicklaunchicon"; Description: "Create a VNC Viewer &Quick Launch icon"; GroupDescription: "Additional icons:"; Components: "VNCViewer"; 
  80.  
  81. [Components]
  82. Name: "winvnc"; Description: "VNC Server (64-bit)"; Types: "default custom"; Check: "Is64BitInstallMode"; 
  83. Name: "winvnc"; Description: "VNC Server"; Types: "default custom"; Check: "not Is64BitInstallMode"; 
  84. Name: "winvnc\vncmirror"; Description: "VNC Mirror Driver"; Types: "default custom"; Check: "IsMirrorDriverSupported"; 
  85. Name: "winvnc\vncprinter"; Description: "VNC Printer Driver"; Types: "default custom"; Check: "IsPrinterDriverSupported"; 
  86. Name: "vncviewer"; Description: "VNC Viewer (64-bit)"; Types: "default"; Check: "Is64BitInstallMode"; 
  87. Name: "vncviewer"; Description: "VNC Viewer"; Types: "default"; Check: "not Is64BitInstallMode"; 
  88.  
  89. [InstallDelete]
  90. Type: files; Name: "{group}\VNC Viewer 4\Run Listening VNC Viewer.lnk"; 
  91. Type: files; Name: "{group}\VNC Viewer 4\Run VNC Viewer.lnk"; 
  92. Type: files; Name: "{group}\VNC Viewer 4\Address Book.lnk"; 
  93. Type: dirifempty; Name: "{group}\VNC Viewer 4"; 
  94. Type: files; Name: "{group}\VNC Server 4 (Service-Mode)\Unregister VNC Service.lnk"; 
  95. Type: files; Name: "{group}\VNC Server 4 (Service-Mode)\Configure VNC Service.lnk"; 
  96. Type: files; Name: "{group}\VNC Server 4 (Service-Mode)\Register VNC Service.lnk"; 
  97. Type: files; Name: "{group}\VNC Server 4 (Service-Mode)\Start VNC Service.lnk"; 
  98. Type: files; Name: "{group}\VNC Server 4 (Service-Mode)\Stop VNC Service.lnk"; 
  99. Type: files; Name: "{group}\VNC Server 4 (Service-Mode)\Set License Key.lnk"; 
  100. Type: dirifempty; Name: "{group}\VNC Server 4 (Service-Mode)"; 
  101. Type: files; Name: "{group}\VNC Server 4 (User-Mode)\Run VNC Server.lnk"; 
  102. Type: files; Name: "{group}\VNC Server 4 (User-Mode)\Configure User-Mode Settings.lnk"; 
  103. Type: dirifempty; Name: "{group}\VNC Server 4 (User-Mode)"; 
  104. Type: files; Name: "{group}\Documentation\VNC Server.lnk"; 
  105. Type: files; Name: "{group}\Documentation\VNC Viewer.lnk"; 
  106. Type: files; Name: "{userdesktop}\VNC Viewer 4.lnk"; 
  107. Type: files; Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\VNC Viewer 4.lnk"; 
  108. Type: files; Name: "{group}\Advanced\VNC Viewer (Listening Mode).lnk"; 
  109. Type: files; Name: "{group}\Advanced\Enter Server License Key.lnk"; 
  110. Type: files; Name: "{group}\Documentation\VNC Viewer User Guide.url"; 
  111. Type: files; Name: "{group}\Documentation\VNC Server User Guide.url"; 
  112. Type: files; Name: "{group}\Documentation\VNC Enterprise Edition on the Web.url"; 
  113. Type: files; Name: "{app}\VNC4"; 
  114. Type: files; Name: "{userdesktop}\VNC Viewer.lnk"; 
  115. Type: files; Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\VNC Viewer.lnk"; 
  116. Type: files; Name: "{group}\Advanced\Start Listening VNC Viewer.lnk"; 
  117. Type: files; Name: "{group}\VNC Address Book.lnk"; 
  118. Type: files; Name: "{group}\VNC Viewer.lnk"; 
  119. Type: files; Name: "{group}\Advanced\VNC Server (User Mode).lnk"; 
  120. Type: files; Name: "{group}\Advanced\Enter VNC Server License Key.lnk"; 
  121. Type: files; Name: "{group}\Documentation\VNC Server on the Web.lnk"; 
  122. Type: files; Name: "{group}\VNC Server.lnk"; 
  123.  
  124. [Types]
  125. Name: "default"; Description: "Install server and viewer"; 
  126. Name: "custom"; Description: "Custom installation"; 
  127.  
  128. [CustomMessages]
  129. default.NameAndVersion=%1 version %2
  130. default.AdditionalIcons=Additional icons:
  131. default.CreateDesktopIcon=Create a &desktop icon
  132. default.CreateQuickLaunchIcon=Create a &Quick Launch icon
  133. default.ProgramOnTheWeb=%1 on the Web
  134. default.UninstallProgram=Uninstall %1
  135. default.LaunchProgram=Launch %1
  136. default.AssocFileExtension=&Associate %1 with the %2 file extension
  137. default.AssocingFileExtension=Associating %1 with the %2 file extension...
  138. UnselectedUninstallUnsuccessful=The %1 was previously installed and could not be uninstalled cleanly. This should not cause problems, but if it does, please reboot clear the files out manually.
  139. UnselectedDriverUninstallUnsuccessful=The %1 was previously installed and could not be uninstalled cleanly. This should not cause problems, but if it does, please reboot and remove the component manually from the Device Manager.
  140.  
  141. [Languages]
  142. ; These files are stubs
  143. ; To achieve better results after recompilation, use the real language files
  144. Name: "default"; MessagesFile: "embedded\default.isl"; 
  145.